import cPickle
from genutils.io import raw_data_columns
import os
import numpy

filenames = os.listdir('data/03-04-09/')


data = {}
for filename in filenames:
    if ".tif" not in filename and "DS_Store" not in filename:
        print filename
        data[filename] = numpy.array(raw_data_columns(os.path.join('data','03-04-09',filename)) ).T[0]

cPickle.dump( data, open('data/03-04-09/data.cPickle', 'w'), protocol=-1 )




